package com.sxkj.entity.mapper.sys;

import com.sxkj.entity.base.BaseMapper;
import com.sxkj.entity.entity.sys.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    List<User> selectByLoginName(@Param("userName") String userName);

    List<User> searchListPage(@Param("nickName") String nickName);

    User selectByPrimaryKey(@Param("id") String id);

    void deleteById(@Param("id") String id);
}
